<template>
  <Switch :value="value" true-value="1" false-value="0">
    <span slot="open">{{label}}</span>
    <span slot="close">{{label}}</span>
  </Switch>
</template>
<script>
export default {
  props: {
    label: "",
    prop: "",
    
    value: "",
    single: {
      default: false
    },
    icon: {
      default: ""
    },
    readonly: {
      default: false
    },
    single: {
      default: false
    }
  },
  computed: {
    see() {
      return this.$store.state.forms.see;
    }
  },
  methods: {
    inputEvent(data) {
      this.$emit("input", data);
    }
  }
};
</script>